<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- 行内式的Js -->
    <input type="button" value="唐伯虎" onclick="alert('秋香')">
    <!-- 内嵌式的Js -->
    <!-- <script>
        alert('hello world')
    </script> -->
    <!-- 外联式的Js,标签中间不能写代码 -->
    <script src="Day1.js"></script>
</body>
</html>